<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景色</title>
    <style>
        #d1{
            height: 500px;
            width: 600px;
            background-color: darkorange;
        }
        #d2{
            width: 400px;
            height: 300px;
            background-image: url(img/bp.jpg);
            background-position: 0px 100px;
            background-repeat: no-repeat;
        }
    </style>
</head>
<body>
    <div id="d1">

    </div>
    <div id="d2"></div>
</body>
</html>